import {Sprite} from "../base/Sprite.js";
import {DataStore} from "../base/DataStore.js";

export class Background extends Sprite {
    constructor() {
        let image = DataStore.getInstance().resLoaded.get('background');
        super(image, 0, 0, image.width, image.height
            , 0, 0, DataStore.getInstance().canvas.width, DataStore.getInstance().canvas.height);
    }
}